-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup GH Actions #146
Setup GH Actions #146
Conversation
You will probably also need to enable Actions in this repo, they passed in mine: https://github.com/Cyberbeni/LicensePlist/pull/1 |
Could also set up code coverage. I use codecov.io, my setup: |
Ah, xcbeautify doesn't expect (If we generate-xcodeproj, the formatting is fine: https://github.com/Cyberbeni/LicensePlist/runs/1558894090?check_suite_focus=true but generate-xcodeproj is getting deprecated) |
@mono0926 The problem was that swift test prints to error output on macOS 🤦 |
resolves #35 |
Thank you for the pull request 👍 |
Based on activity, installing SwiftLint on Linux might not be better than just running it on macOS (it is preinstalled) as it will be cleared from the cache after 2 weeks. (But macOS minutes cost 10x more and macOS runners are more often delayed)
xcpretty is discontinued, so using xcbeautify instead, which is written in swift, so making bigger improvements to it doesn't require sweating blood.
Both SwiftLint and xcbeautify will load from cache if saved in a previous run and caching restrictions allow reloading it. https://docs.github.com/en/free-pro-team@latest/actions/guides/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache